﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Themmoibaiviet.aspx.cs" Inherits="BHTT.Baiviet.subview.Themmoibaiviet" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManger1" runat="Server"></asp:ScriptManager>
        <div style="width:100%; height:2000; padding-left:200px; padding-right:200px;">
            <table>
                <tr>
                    <td>Mã bài viết</td>
                    <td>
                        <asp:TextBox ID="txtMabaiviet" runat="server" MaxLength="50" Width="200" Height="30"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Tên bài viết</td>
                    <td>
                        <asp:TextBox ID="txtTenbaiviet" runat="server" MaxLength="100" Width="441px" 
                            Height="30px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Người viết bài</td>
                    <td>
                        <asp:TextBox ID="txtNguoiviet" runat="server" MaxLength="100" Width="441px" 
                            Height="30px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Mở đầu</td>
                    <td>
                        <asp:TextBox ID="txtShortcut" runat="server" MaxLength="100" 
                            TextMode="MultiLine" Height="150px" Width="600"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Nội dung</td>
                    <td>
                        <telerik:RadEditor ID="txtNoidung" runat="server" Height="700" Width="800px">
                            <ImageManager ViewPaths="~/Image"
                                UploadPaths="~/Image"
                                DeletePaths="~/Image" MaxUploadFileSize="6004800">
                            </ImageManager>
                        </telerik:RadEditor>
                    </td>
                </tr>
                <tr>
                    <td>Ảnh đại diện</td>
                    <td>
                        <asp:FileUpload ID="FileUpload1" runat="server" />
                        <asp:Image ID="imgDaidien" runat="server" Height="155px" Width="182px" />
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <asp:Button ID="btnThemmoi" runat="server" Text="Thêm mới" Width="98px" 
                            onclick="btnThemmoi_Click" />
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
